package com.qinglei.recoup.hmp.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户绑定监测仪设备相关信息表
 *
 * @author syp
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "HmpUserBindDevice对象", description = "用户绑定监测仪设备相关信息表")
public class HmpUserBindDevice implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "床位ID")
    private Integer bedId;

    @ApiModelProperty(value = "监测仪设备SN码")
    private String deviceSn;

    @ApiModelProperty(value = "物联网平台产品KEY")
    private String iotProductKey;

    @ApiModelProperty(value = "使用者标签ID")
    private Integer userTagId;

    @ApiModelProperty(value = "是否发送每日早报 默认为1 0-不发送 1-发送")
    private Integer reportStatus;

    @ApiModelProperty(value = "是否发送实时报警信息 默认为1 0-不发送 1-发送")
    private Integer policeStatus;

    @ApiModelProperty(value = "是否默认设备 1-是 0-否")
    private Integer isDefault;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime modifyTime;

    @ApiModelProperty(value = "0-未删除 1-已删除")
    @TableLogic
    private Integer isDeleted;


}
